-
Notifications
You must be signed in to change notification settings - Fork 19
feat: add ownership option to device formatting #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Updated the device formatting options to include a new parameter "take-ownership" set to true. - This enhancement allows for better management of device ownership during formatting. Log: Added ownership option to device formatting. Bug: https://pms.uniontech.com/bug-view-325935.html
Reviewer's GuideThis PR enhances the device formatting routine by extending the formatting options map to include a new "take-ownership" parameter set to true, enabling ownership management during format operations. Class diagram for updated device formatting options in MainWindowclassDiagram
class MainWindow {
+void formatDevice()
}
class MainPage {
+QString getLabel()
+QString getSelectedFs()
+bool shouldErase()
}
class Blk {
+void format(QString fs, QVariantMap opt)
+QDBusError lastError()
}
MainWindow --> MainPage : uses
MainWindow --> Blk : uses
%% Highlight the change: opt now includes "take-ownership"
note for MainWindow "formatDevice now adds { 'take-ownership': true } to options map for format() call"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deepin pr auto review关键摘要:
是否建议立即修改:
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: itsXuSt, Johnson-zs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Log: Added ownership option to device formatting.
Bug: https://pms.uniontech.com/bug-view-325935.html
Summary by Sourcery
New Features: